package cn.ainit.bs.repList.entity;
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;


@Entity
@Table(name="report_condition_cols")

public class RepViewType  implements java.io.Serializable {
     
	 private RepViewTypeId id;
     private String isCommon;
     private String colid;
     private String fucn;
     private String alias;

    public RepViewType() {
    }
   
    @EmbeddedId
    @AttributeOverrides( {
        @AttributeOverride(name="dsId", column=@Column(name="DS_ID") ), 
        @AttributeOverride(name="name", column=@Column(name="NAME") ) } )

    public RepViewTypeId getId() {
        return this.id;
    }
    public void setId(RepViewTypeId id) {
        this.id = id;
    }
    
    @Column(name="IS_COMMON")
    public String getIsCommon() {
        return this.isCommon;
    }
    public void setIsCommon(String isCommon) {
        this.isCommon = isCommon;
    }
    
    @Column(name="COLID", nullable=false, length=128)
    public String getColid() {
        return this.colid;
    }
    public void setColid(String colid) {
        this.colid = colid;
    }
    
    @Column(name="FUCN", length=30)
    public String getFucn() {
        return this.fucn;
    }
    public void setFucn(String fucn) {
        this.fucn = fucn;
    }
    
    @Column(name="ALIAS", length=30)
    public String getAlias() {
        return this.alias;
    }
    public void setAlias(String alias) {
        this.alias = alias;
    }

}